#include<iostream>

using namespace std;

int main(int argc, char* argv[], char* env[])
{
    cout << "begin :" << argv[0] << endl;
    cout << "这是命令行参数" <<endl;
    for(int i = 0; i < argc; i++)
    {
        cout << i << ":" <<  argv[i] << endl;
    }
    cout<< "这是环境变量信息" <<endl;
    for(int i = 0; env[i]; i++)
    {
        cout << i << ":" << env[i] <<endl;
    }
    cout << "stop :" << argv[0] << endl;
    return 0;
}
